package com.lvt.example.thinking.in.spring.questions.L19.bean.definine.example01.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * desc：HelloController
 *
 * @author LT
 * @date 2022/10/2
 */
@RestController
public class HelloController {

    @RequestMapping(path = "hi", method = RequestMethod.GET)
    public String hi() {
        return "helloworld";
    }
}
